﻿<Window x:Class="VisualCode.Forms.MainWindow2"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow2" Height="376" Width="637">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="80*" />
            <RowDefinition Height="4" />
            <RowDefinition Height="40*" />
        </Grid.RowDefinitions>

        <Menu>
            <MenuItem Header="_File"></MenuItem>
            <MenuItem Header="_Build">
                <MenuItem Header="Build Solution" x:Name="BuildSolution" Click="BuildSolution_Click"></MenuItem>
            </MenuItem>
        </Menu>

        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="30*" />
                <ColumnDefinition Width="4" />
                <ColumnDefinition Width="60*" />
            </Grid.ColumnDefinitions>

            <TreeView x:Name="SolutionExplorerTreeView">

            </TreeView>

            <GridSplitter 
                Grid.Column="1" 
                ResizeDirection="Columns" 
                Width="Auto" 
                HorizontalAlignment="Stretch" />

        </Grid>

        <GridSplitter 
            Grid.Row="2" 
            VerticalAlignment="Stretch" 
            Width="Auto" 
            HorizontalAlignment="Stretch" 
            Height="Auto" 
            ResizeDirection="Rows" />

        <TabControl Grid.Row="3">
            <TabItem Header="Output">
                <TextBox x:Name="OutputTextBox" 
                         FontFamily="Courier New" 
                         FontSize="8pt" 
                         TextWrapping="NoWrap" 
                         VerticalScrollBarVisibility="Visible" 
                         HorizontalScrollBarVisibility="Auto">

                </TextBox>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
